<!doctype html>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html lang="en">


<head>
<meta charset="utf-8">
<title>Créer votre questionnaire</title>

<meta http-equiv="content-language" content="fr">
<meta name="language" content="fr">
<meta name="keywords" content="questonnaire, sondage, créer, creer">
<meta name="description" content="Créer votre questionnaire">
<link rel="stylesheet" media="screen" type="text/css" title="Design"
	href="${pageContext.request.contextPath}/Vues/./question/sondage.css">
<meta name="viewport" content="width=device-width, initial-scale=1" />

<!---CSS Files-->
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/Vues/css/colorpicker.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/Vues/css/sticky.full.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/Vues/css/ad.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/Vues/css/jquery-ui.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/Vues/css/tipTip.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/Vues/css/grid.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/Vues/css/demo.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/Vues/css/reset1.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/Vues/css/tables.css">
<link
	href="${pageContext.request.contextPath}/Vues/js/sh/shThemeDefault.css"
	rel="stylesheet" type="text/css" />
<link href="${pageContext.request.contextPath}/Vues/js/sh/shCore.css"
	rel="stylesheet" type="text/css" />
<!---jQuery Files-->
<script type="text/javascript" async=""
	src="${pageContext.request.contextPath}/Vues/./question/ga.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/Vues/./question/fonctions_globales.js"></script>
<script
	src="${pageContext.request.contextPath}/Vues/js/jquery-1.7.1.min.js"></script>
<script
	src="${pageContext.request.contextPath}/Vues/js/jquery-ui-1.8.17.min.js"></script>
<script src="${pageContext.request.contextPath}/Vues/js/styler.js"></script>
<script
	src="${pageContext.request.contextPath}/Vues/js/jquery.tipTip.js"></script>
<script src="${pageContext.request.contextPath}/Vues/js/colorpicker.js"></script>
<script src="${pageContext.request.contextPath}/Vues/js/sticky.full.js"></script>
<script src="${pageContext.request.contextPath}/Vues/js/global.js"></script>
<script
	src="${pageContext.request.contextPath}/Vues/js/jquery.dataTables.min.js"></script>
<script src="${pageContext.request.contextPath}/Vues/js/sh/shCore.js"
	type="text/javascript"></script>
<script
	src="${pageContext.request.contextPath}/Vues/js/sh/shBrushXml.js"
	type="text/javascript"></script>
<!---Fonts-->
<link
	href='http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700'
	rel='stylesheet' type='text/css'>
<!--[if lt IE 9]>
        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
<!--[if lte IE 8]>
        <script language="javascript" type="text/javascript" src="js/flot/excanvas.min.js"></script>
        <![endif]-->
</head>
<body>

	<!--- HEADER -->

	<div class="header">
		<a href="dashboard.html"><img
			src="${pageContext.request.contextPath}/Vues/img/logo.png" alt="Logo" /></a>
		<div class="styler">
			<ul class="styler-show">
				<li><div id="colorSelector-top-bar"></div></li>
				<li><div id="colorSelector-box-head"></div></li>
			</ul>
		</div>
	</div>

	<div class="top-bar">
		<ul id="nav">
			<li id="user-panel"><img
				src="${pageContext.request.contextPath}/Vues/img/nav/usr-avatar.jpg"
				id="usr-avatar" alt="" />
				<div id="usr-info">
					<p id="usr-name">Bienvenu</p>
					<p id="usr-notif">
						You have 6 notifications. <a href="#">View</a>
					</p>
					<p>
						<a href="#">Preferences</a><a href="#">Profile</a><a
							href="identifiervous.jsp">Log out</a>
					</p>
				</div></li>
			<li>
				<ul id="top-nav">
					<li class="nav-item"><a href="accueiladmin.jsp"><img
							src="${pageContext.request.contextPath}/Vues/mg/nav/dash-active.png"
							alt="" />
							<p>Accueil</p></a></li>
					<li class="nav-item"><a href="analytics.html"><img
							src="${pageContext.request.contextPath}/Vues/img/nav/anlt.png"
							alt="" />
							<p>Analytics</p></a></li>
					<li class="nav-item"><a href="gestiondescours.jsp"><img
							src="${pageContext.request.contextPath}/Vues/img/nav/tb.png"
							alt="" />
							<p>Cour</p></a></li>
					<li class="nav-item"><a href="calendar.html"><img
							src="${pageContext.request.contextPath}/Vues/img/nav/cal.png"
							alt="" />
							<p>calendrier</p></a></li>
					<li class="nav-item"><a href="gestiondesexamens.jsp"><img
							src="${pageContext.request.contextPath}/Vues/img/nav/widgets.png"
							alt="" />
							<p>Examen</p></a></li>

					<li class="nav-item"><a href="gestiondemessagerie.jsp"><img
							src="${pageContext.request.contextPath}/Vues/img/nav/flm.png"
							alt="" />
							<p>Messagerie</p></a></li>

					<li class="nav-item"><a
						href="http://localhost/phpBB3/index.php?sid=50cf3692c285ff2746fd3ba916486a50"><img
							src="${pageContext.request.contextPath}/Vues/img/nav/icn.png"
							alt="" />
							<p>Forum</p></a></li>

				</ul>
			</li>
		</ul>
	</div>

	<!--- CONTENT AREA -->

	<div class="content container_12">
		<div class="box grid_12">
			<div class="box-head">
				<h2>Gestion des Examens</h2>
			</div>
			<div class="box-content no-pad">
				
			</div>
		</div>
		<div id="global">


			<div id="middle">


				<div id="corps">

					<form id="sondage_crea" method="" action="">

						<div id="part0_titre">

							<fieldset id="title_part">
								<legend id="legend_titre">Votre questionnaire:</legend>
								<label for="titre">Titre : </label> <br> <label
									style="margin-top: 10px; margin-left: 30px;"><s:property value="assessment.Hoal" /> </label> <label
									style="margin-top: 40px; margin-left: -120px">Description: </label> <br>
								<!--<img class='infobulle' title='La description sera visible par les destinataires du questionnaire' alt='La description sera visible par les destinataires du questionnaire' src='http://www.ze-questionnaire.com/__zemoteur/__css/icones/infobulle_20px.png'/>-->
								<label style="margin-top: 60px; margin-left: -60px;"><s:property
										value="assessment.Deal" /></label> <br>

							</fieldset>

						</div>
						<div id="part0_titre">
					
						<s:hidden name="questionnaire" value="%{assessment.Aslid}"></s:hidden>
							<s:iterator value="issu">
								<fieldset id="title_part">
									<legend id="legend_titre">
										<s:property value="title" />
									</legend>
									<label for="titre"><s:property value="cont" /> </label>
									<s:set name="oblig" value="%{oblg}" />
									<s:set name="oblig2" value="%{answer.titAns}" />
									<s:property value="answer.titAns"/>
									
									<br> <br>
									
								<%int c=0,n=0; %>	
								
								 <s:iterator value="answer">
									<s:set name="oblig2" value="%{titAns}" />
									<s:set name="oblig1" value="%{#parameters[#oblig2][0]}" />
																		
								
									<s:if test="%{#oblig1 != null}">
										<s:if test="%{Desp == 'true'}">						
									<%c=c+1; %>
                          <label><img src="${pageContext.request.contextPath}/Vues/images/result_ok.gif" alt="Logo" />  <s:property value="#oblig1"/>  </label><br/>
							     </s:if>
							     
							     <s:if test="%{Desp == 'false'}">						
									<%c=c+1;n=n+1; %>
									
                          <label> <img src="${pageContext.request.contextPath}/Vues/images/false.PNG" alt="Logo" /> <s:property value="#oblig1"/> </label>
							     </s:if>
							     <br/>
							       </s:if>
							       
							       	
							     </s:iterator>
							     <%if (c== 0){ %>
							     <label><img src="${pageContext.request.contextPath}/Vues/images/result_ok.gif" alt="Logo" />vous n avez pas repondu</label>
							     <%} %>
									<span class="span_infobulle_autour"></span>
									<!--<img class='infobulle' title='La description sera visible par les destinataires du questionnaire' alt='La description sera visible par les destinataires du questionnaire' src='http://www.ze-questionnaire.com/__zemoteur/__css/icones/infobulle_20px.png'/>-->
								<%if (n!=0){ %>
							 <br/>	<label>les reponse juste sont:</label><br/><br/>
								<s:iterator value="answer">
								<s:if test="%{Desp == 'true'}">
								<label><s:property value="Cont"/> </label><br/><br/>
								</s:if>
								</s:iterator>
								<%}%>	
									
									

								</fieldset>
							</s:iterator>
							
					
						</div>



						<div id="part2_envoyer" style="display: none;">

							<fieldset class="bloc_mail" id="bloc_mail">
								<legend>Envoyez votre questionnaire</legend>

								<p>
									<span class="textchoixoption">Définissez les paramètres
										de votre questionnaire</span>
								</p>





							</fieldset>



						</div>
					</form>

				</div>

			</div>


		</div>


	</div>





	<div class="footer">
		<p class="grid_12"></p>
	</div>


</body>



</html>